ReadBarcodes(RasterImage,LeadRect,Int32,BarcodeSymbology[]) Method

Summary

For information about this method please see ReadBarcodes.

Syntax
C#
VB
C++
Public Overloads Function ReadBarcodes( _ 
   ByVal image As RasterImage, _ 
   ByVal searchBounds As LeadRect, _ 
   ByVal maximumBarcodes As Integer, _ 
   ByVal symbologies() As BarcodeSymbology _ 
) As BarcodeData() 

Parameters

image
A RasterImage object that contains the image data. Must not be null.

searchBounds
A LeadRect that specifies the region of interest area in the image where the barcodes search and detection is performed. You can specify empty rectangle to indicate that the search must be performed on the whole image.

maximumBarcodes
An Int32 that specifies the maximum number of barcodes to return. Must be a value greater than or equal to 0. The value of 0 means all barcodes.

symbologies
An array of BarcodeSymbology enumeration members that specifies the barcode symbologies (types) to search for.

Return Value

An array of BarcodeData objects that contains the symbology, data, location and any rotation angle for each barcode found. If no barcodes can be found, then this method will return an empty array (Length equals to 0).

Remarks

Note: In LEADTOOLS for .NET, the equivalent to LeadRect is LeadRect.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly